<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport"
		content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<meta name="renderer" content="webkit">
		<title>我的图书馆</title>
		<link rel="stylesheet"
			href="${pageContext.request.contextPath}/css/pintuer.css">
			<link rel="stylesheet"
				href="${pageContext.request.contextPath}/css/admin.css">
				<script src="${pageContext.request.contextPath}/js/jquery.js"></script>
</head>
<body style="background-color: #f2f9fd;">
<shiro:notAuthenticated>
 <script type="text/javascript">
   
    window.location.href = "${pageContext.request.contextPath}/enterIndex";
 </script>
</shiro:notAuthenticated>
	<div class="header bg-main"
		style="background-image: url('${pageContext.request.contextPath}/images/bg1.jpg');position:relative; ">
		<div class="logo margin-big-left fadein-top">
			<h1>
				<img src="${pageContext.request.contextPath}/img/wyulogo.jpg"
					class="radius-circle rotate-hover" height="50" alt="" />我的图书馆
			</h1>
		</div>
		<div class="head-l" ">
			<a class="button button-little bg-green" href="${pageContext.request.contextPath}/enterIndex"><span
				class="icon-home"></span> 返回首页</a> &nbsp;&nbsp;<a
				class="button button-little bg-red" href="${pageContext.request.contextPath}/reader/loginout"><span
				class="icon-power-off"></span> 退出登录</a> <span
				style="position: absolute; right: 100px; top: 40%;font-weight: bold;font-size: 15px;">欢迎:&nbsp;&nbsp;&nbsp;&nbsp;<shiro:principal></shiro:principal></span>
		</div>
	</div>
	<div class="leftnav">
		<div class="leftnav-title"
			style="background-image: url('${pageContext.request.contextPath}/images/bg1.jpg');">
			<strong><span class="icon-list"></span>菜单列表</strong>
		</div>
		<h2>
			<span class="icon-user"></span>基本设置
		</h2>
		<ul style="display: block">
			<li><a href="${pageContext.request.contextPath}/reader/enterUpadateReaderMsg" target="right"><span
					class="icon-caret-right"></span>基本信息修改</a></li>
			<li><a href="${pageContext.request.contextPath}/jsp/pass.jsp" target="right"><span
					class="icon-caret-right"></span>修改密码</a></li>
			<li><a href="${pageContext.request.contextPath}/reader/searchReaderBorrowMsg" target="right"><span
					class="icon-caret-right"></span>借阅信息</a></li>
		</ul>
		
	</div>
	<script type="text/javascript">
		$(function() {
			$(".leftnav h2").click(function() {
				$(this).next().slideToggle(200);
				$(this).toggleClass("on");
			})
			$(".leftnav ul li a").click(function() {
				$("#a_leader_txt").text($(this).text());
				$(".leftnav ul li a").removeClass("on");
				$(this).addClass("on");
			})
		});
	</script>
	<ul class="bread">
		<li><a href="${pageContext.request.contextPath}/jsp/welcome.jsp" target="right" class="icon-home">
				首页</a></li>
		<li><a href="##" id="a_leader_txt">校内通知</a></li>
		<li><b>当前语言：</b><span style="color: red;">中文</php></span>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a
			href="##">英文</a></li>
	</ul>
	<div class="admin">
		<iframe scrolling="auto" rameborder="0" src="${pageContext.request.contextPath}/jsp/welcome.jsp" name="right"
			width="100%" height="100%"></iframe>
	</div>
</body>
</html>